from . import views
from django.urls import path

urlpatterns = [
    path('getCarousel/', views.CarouselView.as_view()),
    path('oneCategory/all/', views.GoodsCateName.as_view()),
    path('getHotProduct/', views.HotGoodsView.as_view()),
    path('category/getCategory/', views.CategoryView.as_view()),
    path('good/getProductByCategory/', views.GoodCategoryView.as_view()),
    path('good/getAllProduct/', views.GoodAllView.as_view()),
    path('onegood/imgs/', views.GoodsImgView.as_view()),
    path('onegood/', views.GoodsDetailView.as_view()),
    path('oneGood/history/', views.AddHistory.as_view()),
    path('addCollect/', views.CollectView.as_view()),
    path('user/getCollect/', views.CollectInfoView.as_view()),
    path('user/deleteCollect/', views.CollectDelView.as_view()),
]
